<script setup lang="ts">

defineProps<{ msg: string }>()

const count = ref(0)
const sD = ref(true)
</script>

<template>
  <h1>{{ msg }}</h1>

  <div class="card">
    <button class="b-red c-blue p-1 b-b-blue">unocss样式</button>
    <button type="button" @click="count++">count is {{ count }}</button>
    <p>
      Edit
      <code>components/HelloWorld.vue</code> to test HMR
    </p>
  </div>
  <el-switch v-model="sD" />
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
